<?php
class ConfirmAlbumForm extends BaseForm {
	private $albums; 
	
	public function ConfirmAlbumForm() {
		parent::BaseForm();
		
		$this->albums = array();
	}
	
	public function clear(){
		$this->albums = array();
	}
	
	public function setAlbums($arr){ $this->albums = $arr; }
	public function getAlbums(){ return $this->albums; }
	
	public function getIds(){
		$arr = array();
		
		foreach($this->getAlbums() as $current){
			$arr[] = $current->getId();
		}
		
		return $arr;
	}
} 
?>